/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 62536
 * Date: 2023-12-03
 * Time: 13:43
 */
public class Main {
    public static void main(String[] args) {
        MyArrayList myArrayList = new MyArrayList();
        myArrayList.add(5);
        myArrayList.add(6);
        myArrayList.add(4);
        myArrayList.Display();
        myArrayList.remove(6);
        myArrayList.add(7);
        myArrayList.add(7);
        System.out.println(myArrayList.get(3));
        myArrayList.Display();

    }
}
